package at.jaki.ubb.crawling.demo.model;

import java.io.Serializable;
import java.util.List;

import at.jaki.ubb.crawling.model.CEEntity;

public class StarData implements Serializable, CEEntity {

	private static final long serialVersionUID = 1L;

	private String filename, id;
	private double startTime;
	private int release, chunkNo;
	private List<Point> list;
	private String guid;
	private boolean normalized = false;
	private int magicNumber;
	private double avg;

	public final String getFilename() {
		return filename;
	}

	public final void setFilename(String filename) {
		this.filename = filename;
	}

	public final String getId() {
		return id;
	}

	public final void setId(String id) {
		this.id = id.replaceAll("\\W", "");
	}

	public final double getStartTime() {
		return startTime;
	}

	public final void setStartTime(double startTime) {
		this.startTime = startTime;
	}

	public final int getRelease() {
		return release;
	}

	public final void setRelease(int release) {
		this.release = release;
	}

	public final int getChunkNo() {
		return chunkNo;
	}

	public final void setChunkNo(int chunkNo) {
		this.chunkNo = chunkNo;
	}

	public final List<Point> getList() {
		return list;
	}

	public final void setList(List<Point> list) {
		this.list = list;
	}

	public void setGUID(String guid) {
		this.guid = guid;
	}

	public String getGuid() {
		return guid;
	}

	public void setNormalized(boolean normalized) {
		this.normalized = normalized;
	}

	public boolean isNormalized() {
		return normalized;
	}
	
	public void setMagicNumber(int magicNumber) {
		this.magicNumber = magicNumber;
	}
	
	public int getMagicNumber() {
		return magicNumber;
	}
	
	public void setAvg(double avg) {
		this.avg = avg;
	}
	
	public double getAvg() {
		return avg;
	}
	
}
